package com.example.train_operate.mapper;

import com.example.train_operate.entity.Network;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 21609
* @description 针对表【tb_network】的数据库操作Mapper
* @createDate 2025-08-13 17:06:39
* @Entity com.example.train_operate.entity.Network
*/
public interface NetworkMapper extends BaseMapper<Network> {

    /**
     * 获取单条试验检查正常的字段个数
     * @return
     */
    Integer selectNormalCount(@Param("networkId") Integer networkId);

    /**
     * 获取主机检查正常的字段个数
     * @return
     */
    Integer selectNormalTotalCount();

    /**
     * 获取主机检查异常的字段个数
     * @return
     */
    Integer selectAbnormalTotalCount();

}




